/* 
 * Change Log:
 *  - 2024-05-23: luozi - adding Circle class
 */

//normal设计测试程序
#include "Point.h"
#include "Line.h" 
#include "Rectangle.h" 
#include "Circle.h"
#include "UI.h"

//测试类的组合
int main(){ 
	UI ui;  //界面UI对象
	
	Point p1(1,2),p2(7,8),p3(10,20);      //三个点对象 
	ui.pointVector.push_back(p1);
	ui.pointVector.push_back(p2);
	ui.pointVector.push_back(p3);
		
	Line line1(p1,p2);         //线对象 
	ui.lineVector.push_back(line1);
	
	Rectangle rect1(p1,5,6);   //矩形对象 
	ui.rectVector.push_back(rect1);
	
	Circle circle1(p3,5);   //圆圈对象 
	ui.circleVector.push_back(circle1);

    ui.show();      //界面显示 
	
    return 0;  
}
